<?
foreach ($list_of_events as $event) {
	echo "<h2>" . $event->linkto() . "</h2>\r\n";
	$wlt = $team->getWLT("event", $event->getEventID());
	echo "<p>Team " . $team->getTeamNumber() . " was " . $tba->stringWLT($wlt) . " at " . $event->getName() . "</p>";
	$list_of_matches = $event->getTeamMatches($team);
	include "views/list_of_matches.php";
}
?>